<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>ELCN | E-learning Community Network</title>
        <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(). "assets/style/"?>style.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(). "assets/style/smoothness/"?>jquery-ui-1.8.20.custom.css" media="screen,projection"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(). "assets/style/"?>temp_main.css" media="screen,projection"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(). "assets/style/"?>form.css" media="screen,projection"/>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url(). "assets/style/"?>message.css" media="screen,projection"/>
        <script src="<?php echo base_url(). "assets/scripts/"?>jquery-1.7.2.min.js" type="text/javascript"></script> 
        <script src="<?php echo base_url(). "assets/scripts/"?>jquery-ui-1.8.20.custom.min.js" type="text/javascript"></script> 
        <script src="<?php echo base_url(). "assets/scripts/"?>main.js" type="text/javascript"></script> 
    </head>
    <body>
        <?php echo $header; ?>
        <div id="content">
            <?php if (isset($message["info"])): echo '<div class="info">' . $message["info"] . '</div>'; endif;?>
            <?php if (isset($message["success"])): echo '<div class="success">' . $message["success"] . '</div>'; endif;?>
            <?php if (isset($message["warning"])): echo '<div class="warning">'. $message["warning"] . '</div>'; endif;?>
            <?php if (isset($message["error"])): echo '<div class="error">' . $message["error"] . '</div>'; endif;?>
            <?php echo $content; ?>
            <!-- #end-content -->
        </div>
        
    </body>
</html>